/* 全局样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* 页面基础样式 - 横屏比例 */
.page {
    width: 1280px;
    height: 720px;
    margin: 20px;
    padding: 40px;
    box-sizing: border-box;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: auto;
    border-radius: 10px;
}

/* 封面页样式 */
.cover {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
}

.cover-content {
    text-align: center;
    width: 80%;
}

.cover h1 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.info {
    text-align: left;
    font-size: 1.5rem;
    width: 100%;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.underline {
    flex-grow: 1;
    border-bottom: 2px solid white;
    margin-left: 1rem;
    height: 2rem;
}

/* 日志页样式 */
.log {
    background-color: #fff;
}

.day {
    position: absolute;
    top: 40px;
    left: 40px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2575fc;
    background-color: #e6f0ff;
    padding: 5px 15px;
    border-radius: 20px;
}

.content {
    margin-top: 80px;
}

.date-input {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.date-input .underline {
    flex-grow: 1;
    border-bottom: 1px solid #ccc;
    margin-left: 1rem;
    height: 1.5rem;
}

/* 小组工作区域样式 */
.group-section {
    margin-bottom: 2rem;
    border: 1px solid #eee;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.electric-control {
    border-left: 5px solid #6a11cb;
    background-color: #f8f5ff;
}

.battery {
    border-left: 5px solid #ff9a00;
    background-color: #fff9f0;
}

.electric-drive {
    border-left: 5px solid #2575fc;
    background-color: #f0f7ff;
}

.group-section h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.8rem;
    font-size: 1.3rem;
}

.entry {
    min-height: 100px;
    border-bottom: 1px dashed #ddd;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background-color: white;
    border-radius: 5px;
}

/* 图片上传区域 */
.image-upload {
    margin-top: 1rem;
}

.image-label {
    font-size: 1rem;
    color: #666;
    margin: 0.5rem 0;
}

.image-placeholder {
    width: 100%;
    height: 150px;
    border: 2px dashed #999;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    margin-bottom: 1rem;
    border-radius: 5px;
}

/* 心得体会区域 */
.summary {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #eee;
}

.summary p {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
}

.summary .entry {
    min-height: 120px;
}

/* 响应式调整 */
@media (max-width: 1366px) {
    .page {
        width: 1000px;
        height: 600px;
    }
}

@media (max-width: 1024px) {
    .page {
        width: 90vw;
        height: auto;
        min-height: 90vh;
    }
}
